]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
status/system: Add context to a11y label
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 13 Sep 2022 16:59:35 +0000 (18:59 +0200)
committerMarge Bot <marge-bot@gnome.org>
Wed, 14 Sep 2022 22:07:06 +0000 (22:07 +0000)
"Lock Screen" can refer to the lock screen component or the action
of locking the screen. Add context to clarify that the button
refers to the latter.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5852

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2485>

js/ui/status/system.js

index 25d4c1e9c8ade72e386321ff7216493a66868edb..5a2d92cc0e83305a50cb11dfe345c1f7ca89a53c 100644 (file)
@@ -232,7 +232,7 @@ class LockItem extends QuickSettingsItem {
             style_class: 'icon-button',
             can_focus: true,
             icon_name: 'system-lock-screen-symbolic',
-            accessible_name: _('Lock Screen'),
+            accessible_name: C_('action', 'Lock Screen'),
         });
 
         this._systemActions.bind_property('can-lock-screen',